Imports System.Data.SqlClient
Public Class PublicVariable
#Region "General"
    Public Shared IsConnect As Boolean = False
    Public Shared IsControl As Boolean = False
    Public Shared LangCode As String = "EN"
    Public Shared LangMessage As DataTable
    Public Shared frmSecondScrn As New frmSECOND_MONITOR
    Public Shared frmLogin As Form
    Public Shared frmCalculator As New frmCALCULATOR
    Public Shared NumberFormatString = PublicVariable.NumberFormatString
    'When we convert from text to date time
    Public Shared SystemDateFormat As String = "MM/dd/yyyy"
    Public Shared SystemDate As Date = Now.Date
    Public Shared IsLicense As Boolean = False
    Public Shared EXEVersion As String = "102"
#End Region
#Region "System Variable"
    Public Shared SVCPercent As Double = 0 'Not use

    Public Shared ServerIP As String
    Public Shared ServerPort As String
    Public Shared POSCode As String
    Public Shared POSStoreCode As String
    Public Shared POSIntervalClear As String

    Public Shared DrawerType As String
    Public Shared DrawerPort As String

    Public Shared OrderPrintOLE As String
    Public Shared OrderPrintName As String
    Public Shared OrderPrintPort As String
    Public Shared OrderPrintSlipCount As String
    Public Shared OrderPrintSubItem As String
    Public Shared OrderPrintAuto As String
    Public Shared OrderPrintFilePath As String

    Public Shared KitchenPrintOLE As String
    Public Shared KitchenPrintName As String
    Public Shared KitchenPrintPort As String
    Public Shared KitchenPrintSlipCount As String
    Public Shared KitchenPrintSubItem As String
    Public Shared KitchenPrintAuto As String
    Public Shared KitchenPrintFilePath As String

    Public Shared ReceiptPrintOLE As String
    Public Shared ReceiptPrintName As String
    Public Shared ReceiptPrintPort As String
    Public Shared ReceiptPrintSlipCount As String
    Public Shared ReceiptPrintSubItem As String
    Public Shared ReceiptPrintAuto As String
    Public Shared ReceiptPrintFilePath As String

    Public Shared CustomerDisplayType As String
    Public Shared CustomerDisplayPort As String

    Public Shared MSRType As String
    Public Shared MSRPort As String
    Public Shared MSRTrack As String
    Public Shared MSRMark As String

    Public Shared BarcodeType As String
    Public Shared BarcodePort As String

    Public Shared Screen As String
    Public Shared ApplicationType As String

    Public Shared LocalCurrency As String
    Public Shared ForeignCurrency As String
    Public Shared ShowPrintPreview As String
    Public Shared DecimalNumber As String
    Public Shared DateTimeFormat As String  'When we convert from date to text to display
    Public Shared KitchenPrintType As String

    Public Shared WorkingStartTime As String
    Public Shared WorkingEndTime As String
    Public Shared VideoFile As String
    Public Shared DefaultCustomerGroup As String

    Public Shared ByCash As String
    Public Shared ByVoucher As String
    Public Shared ByCreditCard As String
    Public Shared ByMileage As String
    Public Shared ByDebit As String
    Public Shared ByForeign As String
    Public Shared CheckSerial As String

    Public Shared BarcodeItem As String
    Public Shared BarcodeCustomer As String
    Public Shared BarcodeEmployee As String

    Public Shared NegativeInventory As String

    Public Shared LogoFile As String

    Public Shared AppVersion As String
    Public Shared BillEmployee As String

    Public Shared SCOption As String
    Public Shared SCPercent As String

    Public Shared pnToolTipTable As uscToolTip

    Public Shared oCompanyInfo As SAPbobsCOM.Company
#End Region
#Region "Connection"
    Public Shared ConnectionString As String = ""
    Public Shared SAPConnectionString As String = ""
    Public Shared ReportConnectionString As String = ""
    Public Shared Connection As SqlConnection
#End Region
#Region "Login Infor"
    Public Shared UserCode As String
    Public Shared UserName As String
    Public Shared Password As String
#End Region
#Region "Permission"
    Public Shared Sales_Quantity As Integer
    Public Shared Sales_Discount As Integer
    Public Shared Sales_Remove As Integer
    Public Shared Sales_Settle As Integer
    Public Shared Sales_Save As Integer
    Public Shared Sales_KEEP As Integer
    Public Shared Sales_PACK As Integer
    Public Shared Sales_Recall As Integer
    Public Shared Sales_Refund As Integer
    Public Shared Sales_Memo As Integer
    Public Shared Reservation_Search As Integer
    Public Shared Reservation_New As Integer
    Public Shared Reservation_Edit As Integer
    Public Shared Reservation_CheckIn As Integer
    Public Shared Reservation_Delete As Integer
    Public Shared Settle_Cash As Integer
    Public Shared Settle_Voucher As Integer
    Public Shared Settle_CreditCard As Integer
    Public Shared Settle_Debit As Integer
    Public Shared Settle_Foreign As Integer
    Public Shared Table_Move As Integer
    Public Shared Table_Split As Integer
    Public Shared Table_Group As Integer
    Public Shared Admin_Report As Integer
    Public Shared Admin_Log As Integer
    Public Shared Admin_Reservation As Integer
    Public Shared Admin_ToGo As Integer
    Public Shared Admin_ToGoList As Integer
    Public Shared Admin_Attendance As Integer
    Public Shared Admin_Delivery As Integer
    Public Shared Admin_Configuration As Integer
    Public Shared Admin_Customer As Integer
    Public Shared Admin_Item As Integer
    Public Shared Admin_Sales As Integer
    Public Shared Admin_Synchronize As Integer
    Public Shared Admin_KeepingList As Integer
    Public Shared Customer_Search As Integer
    Public Shared Customer_New As Integer
    Public Shared Customer_Edit As Integer
    Public Shared Print_Order As Integer
    Public Shared Print_Bill As Integer
    Public Shared Print_Kitchen As Integer
#End Region
End Class
